fix some spelling errors in cargo_rustc
authorNathan Froyd <froydnj@gmail.com>
Mon, 31 Jul 2017 19:26:44 +0000 (15:26 -0400)
committerNathan Froyd <froydnj@gmail.com>
Mon, 31 Jul 2017 19:26:44 +0000 (15:26 -0400)
src/cargo/ops/cargo_rustc/context.rs [changed mode: 0644->0755]
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/job_queue.rs

old mode 100644 (file)
new mode 100755 (executable)
index 53358ef..bec1fd9
@@ -435,7 +435,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
         // - OSX encodes the dylib name in the executable
         // - Windows rustc multiple files of which we can't easily link all of them
         //
-        // Two expeptions
+        // Two exceptions
         // 1) Upstream dependencies (we aren't exporting + need to resolve name conflict)
         // 2) __CARGO_DEFAULT_LIB_METADATA env var
         //
index 44f227f2a2c86077ca3773cec3460a05d80af624..fd32f2b9cc94928f03c56516f5ed0aa472d0192f 100644 (file)
@@ -480,7 +480,7 @@ fn build_script_local_fingerprints<'a, 'cfg>(cx: &mut Context<'a, 'cfg>,
     // First up, if this build script is entirely overridden, then we just
     // return the hash of what we overrode it with.
     //
-    // Note that the `None` here means tha twe don't want to update the local
+    // Note that the `None` here means thawe don't want to update the local
     // fingerprint afterwards because this is all just overridden.
     if let Some(output) = state.get(&(unit.pkg.package_id().clone(), unit.kind)) {
         debug!("override local fingerprints deps");
index 40a0515e5c0c3d8108f1d3b25f54a93f1a7d6fe0..fac58f77eee7698ae3029446113f5b420bd3892e 100644 (file)
@@ -121,7 +121,7 @@ impl<'a> JobQueue<'a> {
         // we're only sending "longer living" messages and we should also
         // destroy all references to the channel before this function exits as
         // the destructor for the `helper` object will ensure the associated
-        // thread i sno longer running.
+        // thread ino longer running.
         //
         // As a result, this `transmute` to a longer lifetime should be safe in
         // practice.